<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/css/layui.css" rel="stylesheet">
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">剩余操作时间：</label>
                            <div class="col-sm-8">
                                <label id="down" class="col-sm-3 control-label" style="color: red; text-align: left;"></label>
                            </div>
                        </div>
                        <input id="id" name="id" type="hidden" th:value="${user.id}">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">最大可充值金额：</label>
                            <div class="col-sm-8">
                                <input id="countMoney" name="countMoney" class="form-control"
                                       type="text" th:value="${maxMoney}" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收款人姓名：</label>
                            <div class="col-sm-8">
                                <input id="realName" name="realName" class="form-control"
                                       type="text" th:value="${user.realName}" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收款银行：</label>
                            <div class="col-sm-8">
                                <input id="bankDeposit" name="bankDeposit" class="form-control"
                                       type="text" th:value="${user.bankDeposit}" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">收款卡号：</label>
                            <div class="col-sm-8">
                                <input id="bankNumber" name="bankNumber" class="form-control"
                                       type="text" th:value="${user.bankNumber}" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">充值金额：</label>
                            <div class="col-sm-8">
                                <input id="money" name="money" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">上传凭证：</label>
                            <div class="col-sm-8">
                                <button type="button" class="layui-btn" id="upload">
                                    <i class="fa fa-cloud"></i>上传文件
                                </button>
                                <img id="pz" src="" style="height: 180px">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数字令牌：</label>
                            <div class="col-sm-8">
                                <input id="code" name="code" class="form-control" type="tel"
                                       placeholder="请输入数字令牌" maxlength="6">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                    <form id="signupForms" style="display: none">
                        <input id="vouchers" name="voucher" type="hidden">
                        <input id="voucherType" name="voucherType" type="hidden">
                        <input id="moneys" name="money" type="hidden">
                        <input id="cashId" name="cashId" type="hidden" th:value="${user.id}">
                        <input id="bankNumbers" name="bankNumber" type="hidden" th:value="${user.bankNumber}">
                        <input id="bankDeposits" name="bankDeposit" type="hidden" th:value="${user.bankDeposit}">
                        <input id="realNames" name="realName" type="hidden" th:value="${user.realName}">
                    </form>
                </div>
            </div>
        </div>
    </div>

</div>
<div th:include="include::footer"></div>
<script src="/js/layui.js"></script>
<script src="/js/plugins/layer/layer.min.js"></script>
<script type="text/javascript" src="/js/appjs/cash/cash/recharge.js">
</script>
</body>
</html>